<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript" src="<%=basePath%>/script/jquery.js"></script>
<script language="javascript" src="<%=basePath%>/script/pageCommon.js"
	charset="utf-8"></script>
<script language="javascript" src="<%=basePath%>/script/PageUtils.js"
	charset="utf-8"></script>
<link type="text/css" rel="stylesheet"
	href="<%=basePath%>/style/blue/pageCommon.css" />
<script type="text/javascript">
	
</script>
<title>Insert title here</title>
</head>
<base href="<%=basePath%>">
<body>
	<!-- 标题显示 -->
	<div id="Title_bar">
		<div id="Title_bar_Head">
			<div id="Title_Head"></div>
			<div id="Title">
				<!--页面标题-->
				<img border="0" width="13" height="13"
					src="<%=basePath%>/style/images/title_arrow.gif" /> 角色设置
			</div>
			<div id="Title_End"></div>
		</div>
	</div>

	<!--显示表单内容-->
	<div id="MainArea">
		<s:form action="role_%{id==null?'add':'update'}">
			<s:hidden name="id"></s:hidden>
			<div class="ItemBlock_Title1"></div>
			<!-- 表单内容显示 -->
			<div class="ItemBlockBorder">
				<div class="ItemBlock">
					<table cellpadding="0" cellspacing="0" class="mainForm">

						<tr>
							<td width="100">角色名称</td>
							<td><s:textfield name="name" class="InputStyle"></s:textfield></td>
						</tr>
						<tr>
							<td>角色说明</td>
							<td><s:textarea name="desci" class="TextareaStyle">
								</s:textarea></td>
						</tr>
					</table>
				</div>
			</div>

			<!-- 表单操作 -->
			<div id="InputDetailBar">
				<input type="image" src="<%=basePath%>/style/images/save.png" /> <a
					href="javascript:history.go(-1);"><img
					src="<%=basePath%>/style/images/goBack.png" /></a>
			</div>
		</s:form>
	</div>
</body>
</html>